#ifndef _MQTT_H_
#define _MQTT_H_


/**
 * @file mqtt.h
 * @author your name (you@domain.com)
 * @brief 
 * @version 0.1
 * @date 2022-04-04
 * 
 * @copyright Copyright (c) 2022
 * 
 * mqtt传参
 * {'device_mac':'E8:68:E7:21:B6:10','LED_state':0,'Color_temperature':100,'brightness':100}
 *        mac                          o：off  1：on            -1表示不改变
 *  * 
 */


#include <Arduino.h>
#include "config.h"
#include <PubSubClient.h>
#include <ArduinoJson.h>
#include "wifi_init.h"



void mqtt_loop(void *pvParameters);
void mqtt_init(void);
int mqtt_log(const char *format, ...);
#endif